home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / May 96 / Re CW9 68k & ODF R1?.1 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.5 KB  |  [TEXT/ttxt]

  1. Subject:     Re: CW9 68k & ODF R1?
  2. Sent:        5/20/96 5:31 PM
  3. Received:    5/22/96 8:31 AM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. We put a document with ODF R1 explaining the problems with CW 68K. You 
  9. need to read this document. The latest compiler I used (1.5b10) worked. I 
  10. am not sure it is available yet.
  11.  
  12. >1. Is there "ODFrc" plug-in for CW IDE in some archive?
  13. > I've downloaded minimum set of archives noted in ODF download page, and
  14. >found ODFrc MPW tool, not CWIDE plug-in.
  15. >
  16.  
  17. I just sent the ODFRC plugin a couple of hours ago.
  18.  
  19. >2. Does "Exception68k.cpp" in Runtime 68k library of CW9 need to be
  20. >included into ODFRuntime.lib, if I'm not using native C++ exception?
  21. > It gave me the compile error that "try" is not allowed if C++ exception is
  22. >not enabled. I've just commented out those code, but this file may not be
  23. >needed.
  24. >
  25.  
  26. Do not use native exception with 68K. Metrowerks still has problems even 
  27. with the 1.5b10 version. Use the ODF emulation exception until the 
  28. compiler is fixed.
  29.  
  30. >3. Has anybody had similar bus error as me? Has anybody fugured out what is
  31. >the cause of the bus error, and how to fix it?
  32. > I've found out that bus error happened in this calling sequence:
  33. >
  34. >CNothingFrame::Draw
  35. >FW_CGraphicContext::InitGraphicContext
  36. >FW_PrivGC_Initialize
  37. >FW_FailOnEvError
  38. >FW_GetEvError
  39.  
  40. This was a problem with PowerPC vs 68K alignment. Previous compiler had a 
  41. problem with "#pragma align=xxx" statement.
  42.